package top.frsf.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;
import top.frsf.reggie.dto.DishDto;
import top.frsf.reggie.entity.Dish;

/**
 * 菜品管理(Dish)表服务接口
 *
 * @author makejava
 * @since 2023-01-15 00:37:12
 */
public interface DishService extends IService<Dish> {

    @Transactional
    void saveWithFlavor(DishDto dishDto);


    DishDto getByIdWithFlavor(Long id);

    @Transactional
    void updateWithFlavor(DishDto dishDto);
}

